package demo08;

public class Keyboard implements USB { // 键盘是一个USB设备
    @Override
    public void close() {
        System.out.println("关闭键盘...");
    }

    @Override
    public void open() {
        System.out.println("打开键盘...");
    }

    public void type() {
        System.out.println("键盘敲敲敲...");
    }
}
